import React from 'react'
import { ComboBox, Label } from 'rc-easyui';
export default function Select(props) {
  return (
    <div className="select">
        <Label htmlFor="c1" align="top" className="work">选择职业：</Label>
        <ComboBox
          inputId="c1"
          value={props.data[0]}
          data={props.data}
          onChange={(value) => props.showSelect(value)}
        /> 
      </div>
  )
}
